note
	description : "moteur-rpg application root class"
	author		: "Adrien"
	date        : "$Date$"
	revision    : "$Revision$"

class
	APPLICATION

inherit
	ARGUMENTS

create
	make

feature {NONE} -- Initialization

	make is
			local
				filepath: STRING
				file: FILEREADER
		do
			io.put_string ("Engine of mini games %N")
			io.put_new_line

			-- Ask for input the file path to read
			io.put_string ("Please, enter the path to the file :")
			io.read_line;
			--io.get_string
			-- Does the user enter string ?
			if io.last_string.count > 0 then
			--if io.last_string.is_equal("") then
            	filepath := io.last_string
            else
				filepath := "/home/sasa/fichier"
			end
			--io.put_string ("the file is :" + filepath +"%N")
			create file.make(filepath)
		end
end
